package cn.funclab.elevator.model;

import cn.funclab.elevator.common.DirectionEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Builder
public class WantGoDTO {

    @ApiModelProperty(value = "当前用户所在楼层")
    @NotNull(message = "用户所在楼层不能为空")
    private Integer UserStayFloor;

    @ApiModelProperty(value = "用户期望向上还是向下")
    @NotNull(message = "方向键不能为空")
    private DirectionEnum directionEnum;

    @ApiModelProperty(value = "用户想去几楼")
    private Integer wantGoFloor;
}
